package com.puris.dao.admin;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Date;

/**
 * @author Sonata
 * @data 2021/11/27 20:33
 */
public interface AddCompetitionDao {
    public boolean hasCompetition(Connection connection, String id) throws SQLException;

    public boolean addCompetition(Connection connection, String id, String competitionName, Date date, String describe, String teacherId, String teacherName) throws SQLException;
}
